package com.scholarship.modules.backend.mapper;

import com.scholarship.modules.backend.entity.CreateTableInfo;
import org.springframework.stereotype.Repository;

/**
 * @author zhz
 * @date 2021/4/10 17:07
 * 备注：动态创建数据库
 */
@Repository
public interface CreateTableMapper {

    //根据info创建数据库表
    int isTableExist(String table)throws Exception;
    int createTable(CreateTableInfo info)throws Exception;
    int updateTableName(CreateTableInfo info)throws Exception;
    int insertTableInfo(CreateTableInfo info)throws Exception;
}
